//
// Created by tanzx on 01/03/0003.
//

#include "test_destructor.h"

void test_destructor_in_function()
{
    Person person;
}

void test_destructor_in_delete()
{
    Person* person = new Person();
    std::cout << "call delete(person);" << std::endl;
    delete(person);
}

void test_destructor_on_extends()
{
    Student student;
}